<?php

namespace app\mini\controller\v1\client\validate;


use think\Validate;

class IndexValidate extends Validate
{
    protected $rule = [
        'shop_id'   => 'require',
        'goods_id'  => 'require',
        'lat'  => 'require',
        'lng'  => 'require',
    ];

    protected $message = [
    ];

    protected $scene = [
        'info'      => ['shop_id'],
        'index'     => ['lat','lng','goods_id'],
        'goodsInfo' => ['goods_id','shop_id']
    ];
}